< previous page page_40 next page >

Page 40
You've already learned that objects such as forms and controls are the parts of a Visual Basic program with which users interact. Collectively, these objects that users see and use are known as a program's visual component. Compare this to a program's code component, which refers to the program code that the programmer has created.
In this chapter, you'll examine some of the fundamentals necessary to build a program's visual component. You'll see how you can define the appearance and behavior of an object by working with its properties, methods, and events. By knowing how to manage these components of your program's objects, you'll be well on your way to creating professional quality user interfaces.
note.gif The term object in this chapter refers to visual objects such as forms and controls. In later chapters, I'll further discuss these types of objects as well as some other objects and how they relate to Visual Basic program code. square.gif

Forms
So far, most of the examples have used the Form object. A form is a container that holds all the other controls (such as labels, text boxes, and pictures) that make up part of a program's user interface. Most of your programs will use a number of forms.
note.gif If you want, you can create a Visual Basic program that contains no forms at all! One example might be a command-line program that processes files and requires no user interface. square.gif

Parts of a Form
When you start a new Standard EXE project, you are presented with the default Visual Basic project, which normally includes a single standard form (see Figure 3.1). Because this form is the place where you start work on your user interface, take a brief look at the different parts of it now.
0040-01.jpg
Figure 3.1
A blank form is the starting point for building a user interface.

 
< previous page page_40 next page >